package com.kyub.spring.gears.model;

/**
 */
public class SimplePropertyDescriptor implements PropertyDescriptor{

    private String name;

    private Class typeClass;

     private String  allowedRoles= "ROLE_ANONYMOUS";

    public Class getTypeClass() {
        return typeClass;
    }

    public void setTypeClass(Class typeClass) {
        this.typeClass = typeClass;
    }

    public String getName() {
            return name;
        }

        public void setName(String name) {

            this.name = name;
        }



        public String toString() {

            return this.hashCode()+ " "+this.name;
        }

    public String getAllowedRoles() {
        return allowedRoles;
    }

    public void setAllowedRoles(String allowedRoles) {
        this.allowedRoles = allowedRoles;
    }
}
